<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" >
    <title>测试系统</title>


    <style>
        
        
        .back{
               
               
                background-image: url(img/2.jpeg);
                height: 1000px;
                background-size: cover;
                 
               
               
             
        }
        .box{
                
                background-attachment: fixed;
                position: absolute;
                top: 0;
                left: 0;
                bottom: 0;
                right: 0;
                margin: auto;
                width: 500px;
                height: 300px;
                border-width: 10px;
                border-color: blueviolet;
                background: wheat;
                opacity: 0.8;
                
                
               

        }
        .box1{
                border: 0;  
                background-color: rgb(17, 142, 237);
                width: 110px;
                font-size: 18px;
                border-radius: 
                10px;position: 
                absolute;
                right: 34%;
                margin: 25px

        }
        
    </style>
</head>
<body onkeydown="if(event.keyCode===13) document.all.dl.click()">
    
        <div class="back"></div>
       
         <div class="box">
            <center >
                <strong><h2 style="color: rgb(14, 232, 75)   ;">登录考试系统</h2></strong>
                <form action="oper.html"  method="get">
                    <table>

                        <tr>
                            <td>账号 </td>
                            <td><input type="text" name="account"></td>
                        </tr>
                        <tr>
                            <td>密码 </td>
                            <td><input type="password" name="password"></td>
                        </tr>
                        <tr>
                            <td>账号类型 </td>
                            <td><select name="accounttype" id=""><option value="1">学生</option><option value="2">老师</option><option value="3">管理员</option></select></td>
                        </tr>
                       
                        <tr >
                            <td colspan="2" >
                                <button type="submit" class="box1" onclick="" id="dl">登录</button></td>
                        </tr>
                        
                        
                    </table>
                </form>
            </center>
        </div>
     
    
    
</body>



</html>